package com.tangshuai;

import redis.clients.jedis.Jedis;

public class MyTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("139.224.225.100",6379);
        jedis.auth("123456");
        //jedis 所有的命令就是我们之前学习的所有指令
        System.out.println(jedis.ping());
    }

}
